Make input start location button working