If you can program in JavaScript, then you can extend your application. Use the JavaScript API for controlling the map and other components we provide.
Note that you'll need to use the download option to get the source code for the application to modify it. Once modified, you'll need to host the application yourself on your web server. We don't support modifying an application that is published to arcgis online.