# Create a button using Blocks navigate to... but it closes the app.

**URL:** <https://community.thunkable.com/t/create-a-button-using-blocks-navigate-to-but-it-closes-the-app/2023376>\
**Category:** Questions about Thunkable X\
**Created:** [September 1, 2022, 11:48am UTC](https://community.thunkable.com/t/create-a-button-using-blocks-navigate-to-but-it-closes-the-app/2023376 "2022-09-01T11:48:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mintana](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mintana](https://community.thunkable.com/u/mintana)\
**Post date:** [September 1, 2022, 11:48am UTC](https://community.thunkable.com/t/create-a-button-using-blocks-navigate-to-but-it-closes-the-app/2023376/1 "2022-09-01T11:48:56Z")

</div>

This is my first time trying to build an app with tam. There is a problem that I don’t know why. I made the button using Blocks navigate to… test with thunkable live, the button works fine. but when i install the app on my smart The crash button is When the button is pressed it closes the app immediately. I don’t know where the problem came from. Please advise me to solve the problem step by step. Thanks.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [September 1, 2022, 11:58am UTC](https://community.thunkable.com/t/create-a-button-using-blocks-navigate-to-but-it-closes-the-app/2023376/2 "2022-09-01T11:58:37Z")

</div>

Hi @mintana,

were you able to get this issue resolved?

Thanks!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 1, 2022, 2:57pm UTC](https://community.thunkable.com/t/create-a-button-using-blocks-navigate-to-but-it-closes-the-app/2023376/3 "2022-09-01T14:57:34Z")

</div>

We’ll need to see screenshots of your blocks or a link to your project (and tell us which screen the problem occurs on).

---

<div class="post-metadata">

**Author:** ![mintana](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mintana](https://community.thunkable.com/u/mintana)\
**Post date:** [September 2, 2022, 6:12am UTC](https://community.thunkable.com/t/create-a-button-using-blocks-navigate-to-but-it-closes-the-app/2023376/4 "2022-09-02T06:12:21Z")

</div>

[https://x.thunkable.com/copy/61f29abd6bc11bee215c34dca14180aa](https://x.thunkable.com/copy/61f29abd6bc11bee215c34dca14180aa)  
I press the Save button, an item is displayed in the List after that when the button is pressed to change the screen. The app is closed by itself.

 ![46237](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/3/a32c5b2d4184762cc64f5fa3d27f699f91dac9b9.jpeg)

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [September 2, 2022, 6:44am UTC](https://community.thunkable.com/t/create-a-button-using-blocks-navigate-to-but-it-closes-the-app/2023376/5 "2022-09-02T06:44:20Z")

</div>

It works for me as it supposed to do:  
 ![screen](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/f/7f91f8ae5b54493f9f377a03b176289542097ed2.gif)  
Running on Android 12, on Realme GT Racing Edition.

---

<div class="post-metadata">

**Author:** ![mintana](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mintana](https://community.thunkable.com/u/mintana)\
**Post date:** [September 2, 2022, 4:40pm UTC](https://community.thunkable.com/t/create-a-button-using-blocks-navigate-to-but-it-closes-the-app/2023376/9 "2022-09-02T16:40:11Z")

</div>

It works, but after pressing save I want to go back to the initial screen by pressing the back button. (See attached picture)  
does not return to the start screen but it causes the app to close.

 ![Screenshot 2022-09-02 232450](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/b/db825bd03a036c5e44082e793ec447f49ef5ad7d.jpeg)

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [September 3, 2022, 8:59am UTC](https://community.thunkable.com/t/create-a-button-using-blocks-navigate-to-but-it-closes-the-app/2023376/10 "2022-09-03T08:59:58Z")

</div>

> [@mintana](#):
>
> It works, but after pressing save I want to go back to the initial screen by pressing the back button. (See attached picture)  
> does not return to the start screen but it causes the app to close.

Again, did all that, and is working for me… see the attached animation I posted before.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [December 2, 2022, 9:00am UTC](https://community.thunkable.com/t/create-a-button-using-blocks-navigate-to-but-it-closes-the-app/2023376/11 "2022-12-02T09:00:41Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
